import request from '@/router/axios';

export const batchbukuan_option = {
  border: true,
  index: true,
  indexLabel: '序号',
  header:false,
  stripe: false,
  menu:false,
  menuAlign: 'center',
  viewBtn: false,
  editBtn: false,
  emptyBtn:false,
  delBtn: false,
  align: 'center',
  selection: false,
  reserveSelection:false,
  addBtn: false,
  column: [{
    label: '收入日期',
    prop: 'recordTime',
    format: 'yyyy-MM-dd',
    valueFormat: 'yyyy-MM-dd',
    width:160,
    type: 'date',
    hide: false,
  },{
    hide: false,
    label: '补款日期',
    prop: 'supPaymentTime',
    format: 'yyyy-MM-dd',
    valueFormat: 'yyyy-MM-dd',
    type:'date',
    slot: true
  }, {
    label: '补款金额',
    prop: 'shortAmount',
    type:'input',
    slot: true
  }, {
    label: '补款人',
    prop: 'conductorPerson',
    hide: false,
  }, {
    label: '补款人员工号',
    prop: 'conductorPersonCode',
    hide: false,
  }]
}


/**
 * 批量补款
 * @param query
 */
export function batchBuKuanSwAuTvmShort(query) {
  return request({
    url: '/check/swautvmshort/batchBuKuanSwAuTvmShort',
    method: 'post',
    params: query
  })
}
